using System;

namespace NDomain.Reflection
{
    public class EntityInfo
    {
        private string name;
        private RepositoryInfo repository;
        private FactoryInfo factory;

        public EntityInfo(string name)
        {
            this.name = name;
        }

        public string Name
        {
            get { return name; }
        }

        public RepositoryInfo Repository
        {
            get { return repository; }
            internal set { repository = value; }
        }

        public FactoryInfo Factory
        {
            get { return factory; }
            internal set { factory = value; }
        }
    }
}